package com.hdax.dm.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hdax.common.user.UserDto;
import com.hdax.dm.common.CommonResponse;
import com.hdax.dm.entity.user.DmUser;
import com.hdax.dm.exception.DmException;
import org.w3c.dom.DOMException;

public interface DmLoginService extends IService<DmUser> {

    /**
     * 根据手机号进行登录请求
     */


    CommonResponse<UserDto> login(String phone, String password) throws DmException;
}
